home *** CD-ROM | disk | FTP | other *** search
-
-
-
- WWWWRRRR((((DDDD3333)))) WWWWRRRR((((DDDD3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- _WWWW_RRRR - get a pointer to the write queue
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_eeee_aaaa_mmmm_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
- _qqqq_uuuu_eeee_uuuu_eeee______tttt _****_WWWW_RRRR_((((_qqqq_uuuu_eeee_uuuu_eeee______tttt _****_q_))))_;;;;
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _q Pointer to the queue whose write queue is to be returned.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _WWWW_RRRR function accepts a queue pointer as an argument and returns a
- pointer to the write queue of the same module.
-
- RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
- The pointer to the write queue.
-
- UUUUSSSSAAAAGGGGEEEE
- Note that when _WWWW_RRRR is passed a write queue pointer as an argument, it
- returns a pointer to this write queue.
-
- LLLLeeeevvvveeeellll
- Base or Interrupt.
-
- SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
- Does not sleep.
-
- Driver-defined basic locks, read/write locks, and sleep locks may be held
- across calls to this function.
-
- EEEExxxxaaaammmmpppplllleeeessss
- In a STREAMS _oooo_pppp_eeee_nnnn(D2) routine, the driver or module is passed a pointer
- to the read queue. The driver or module can store a pointer to a private
- data structure in the _qqqq______pppp_tttt_rrrr field of both the read and write queues if it
- needs to identify the data structures from its _pppp_uuuu_tttt(D2) or _ssss_rrrr_vvvv(D2)
- routines.
-
- _1111 _eeee_xxxx_tttt_eeee_rrrr_nnnn _ssss_tttt_rrrr_uuuu_cccc_tttt _xxxx_xxxx_xxxx______dddd_eeee_vvvv_[[[[_]]]]_;;;;
- _...._...._....
- _2222 _xxxx_xxxx_xxxx_oooo_pppp_eeee_nnnn_((((_qqqq_uuuu_eeee_uuuu_eeee______tttt _****_qqqq_,,,, _dddd_eeee_vvvv______tttt _****_dddd_eeee_vvvv_pppp_,,,, _iiii_nnnn_tttt _ffff_llll_aaaa_gggg_,,,, _iiii_nnnn_tttt _ssss_ffff_llll_aaaa_gggg_,,,, _cccc_rrrr_eeee_dddd______tttt _****_cccc_rrrr_pppp_))))
- _3333 _{{{{
- _...._...._....
- _3333 _qqqq_----_>>>>_qqqq______pppp_tttt_rrrr _==== _((((_cccc_aaaa_dddd_dddd_rrrr______tttt_))))_&&&&_xxxx_xxxx_xxxx______dddd_eeee_vvvv_[[[[_gggg_eeee_tttt_mmmm_iiii_nnnn_oooo_rrrr_((((_****_dddd_eeee_vvvv_pppp_))))_]]]]_;;;;
- _4444 _WWWW_RRRR_((((_qqqq_))))_----_>>>>_qqqq______pppp_tttt_rrrr _==== _((((_cccc_aaaa_dddd_dddd_rrrr______tttt_))))_&&&&_xxxx_xxxx_xxxx______dddd_eeee_vvvv_[[[[_gggg_eeee_tttt_mmmm_iiii_nnnn_oooo_rrrr_((((_****_dddd_eeee_vvvv_pppp_))))_]]]]_;;;;
- _...._...._....
- _5555 _}}}}
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- WWWWRRRR((((DDDD3333)))) WWWWRRRR((((DDDD3333))))
-
-
-
- REFERENCES
- _OOOO_TTTT_HHHH_EEEE_RRRR_QQQQ(D3), _RRRR_DDDD(D3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-